﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sc.Domain
{
    [Serializable]
    public partial class Car_FillGasoline
    {
        public Car_FillGasoline()
        { }
        #region Model
        private int _id;
        private int _carid;
        private int _driverid;
        private DateTime _fgtime;
        private int _fgtype;
        private decimal _fgmoney;
        private string _remark;
        private bool _hasattachments = false;
        private int _instancestate;
        private string _approalusers;
        private int _nodecount;
        private int _userId;

        /// <summary>
        /// 加油编号
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 车牌
        /// </summary>
        public int CarId
        {
            set { _carid = value; }
            get { return _carid; }
        }
        /// <summary>
        /// 驾驶员
        /// </summary>
        public int DriverId
        {
            set { _driverid = value; }
            get { return _driverid; }
        }
        /// <summary>
        /// 加油时间
        /// </summary>
        public DateTime FgTime
        {
            set { _fgtime = value; }
            get { return _fgtime; }
        }
        /// <summary>
        /// 支付类型（现金，油卡，付现）
        /// </summary>
        public int FgType
        {
            set { _fgtype = value; }
            get { return _fgtype; }
        }
        /// <summary>
        /// 加油数量
        /// </summary>
        public decimal FgNum { get; set; }
        /// <summary>
        /// 加油类型
        /// </summary>
        public int BaseItemId { get; set; }
        /// <summary>
        /// 加油金额
        /// </summary>
        public decimal FgMoney
        {
            set { _fgmoney = value; }
            get { return _fgmoney; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 附件
        /// </summary>
        public bool HasAttachments
        {
            set { _hasattachments = value; }
            get { return _hasattachments; }
        }
        /// <summary>
        /// 流程状态
        /// </summary>
        public int InstanceState
        {
            set { _instancestate = value; }
            get { return _instancestate; }
        }
        /// <summary>
        /// 审批人
        /// </summary>
        public string ApproalUsers
        {
            set { _approalusers = value; }
            get { return _approalusers; }
        }
        /// <summary>
        /// 节点数
        /// </summary>
        public int NodeCount
        {
            set { _nodecount = value; }
            get { return _nodecount; }
        }
        /// <summary>
        /// 申请人
        /// </summary>
        public int UserId
        {
            get { return _userId; }
            set { _userId = value; }
        }
        #endregion Model
    }
}
